package com.hjl.easy.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.cloud.netflix.zuul.EnableZuulServer;

/**
 * Created by hjl on 2022/6/30
 */
@EnableZuulServer
@SpringBootApplication
@EnableDiscoveryClient
@EnableZuulProxy
public class ZuulStart {

    public static void main(String[] args) {
        SpringApplication.run(ZuulStart.class, args);
    }
}
